import { createRouter, createWebHashHistory } from 'vue-router'
import setup from '@/views/setup.vue'
import home from '@/views/home.vue'
const router = createRouter({
    history: createWebHashHistory(), // hash模式：createWebHashHistory，history模式：createWebHistory
    routes: [
        {
            path: '/',
            name: '/home',
            component: home
        },
        {
            path:'/setup',
            name: '/setup',
            component: setup
        }
    ]
})

export default router